const express=require('express');
const multer=require('multer');
const app=express();
app.use(express.json());
app.use(express.urlencoded({extended:true}));
const formdata=multer();
app.post('/login',formdata.any(),(req,res,next)=>{
    console.log(req.body);
    res.end('登陆成功，欢迎回来');
});
app.listen(9000,()=>{
    console.log('express服务器启动成功~');
});